package com.fowo.api.service.handleWork;

import com.fowo.api.model.stock.out.StockOutOutStockApplyAction;
import com.fowo.api.model.stock.out.StockOutVo;
import com.fowo.api.service.StockOutProductService;
import com.fowo.api.service.impl.StockOutProductServiceImpl;
import com.fowo.api.service.impl.StockOutServiceImpl;
import org.springframework.stereotype.Component;
import org.springframework.util.Assert;

import javax.annotation.Resource;

//@Component
//public class stockOutOutStockApply implements StockOutOutStockApplyAction {
//
//    @Resource
//    private StockOutServiceImpl stockOutService;
//    @Resource
//    protected StockOutProductServiceImpl stockOutProductService;
//    @Override
//    public void run(Long id) throws Exception {
//        StockOutVo voById = stockOutService.getVoById(id);
//        Assert.notNull(voById,"不存在");
//        Assert.isTrue(voById.getStatus().equals("CS01"),"违规操作!");
//
//
//
//    }
//}
